package faq.entity;

import java.util.Date;

/**
 *问题类
 * @author Administrator
 *
 */
public class Faqs {
	/**
	 * 问题id
	 */
	private int id;
	/**
	 * 问题名称
	 */
	private String title;
	/**
	 * 添加时间
	 */
	private Date createdate;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 分类
	 */
	private Calsses calsses;
	/**
	 * 读取问题id
	 * @return
	 */
	public int getId() {
		return id;
	}
	/**
	 * 写入问题id
	 * @param id
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * 读取标题
	 * @return
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * 写入标题
	 * @param title
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * 读取添加时间
	 * @return
	 */
	public Date getCreatedate() {
		return createdate;
	}
	/**
	 * 写入添加时间
	 * @param createdate
	 */
	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}
	/**
	 * 读取内容
	 * @return
	 */
	public String getContent() {
		return content;
	}
	/**
	 * 写入内容
	 * @param content
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * 读取分类
	 * @return
	 */
	public Calsses getCalsses() {
		return calsses;
	}
	/**
	 * 写入分类
	 * @param calsses
	 */
	public void setCalsses(Calsses calsses) {
		this.calsses = calsses;
	}
	
	
}
